package com.atguigu.core;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient // consul 注册发现
@EnableFeignClients // 启用Feign客户端
public class MainFeign8003 {


    public static void main(String[] args) {
        SpringApplication.run(MainFeign8003.class, args);
    }

}